package ooday02;

public class Dog extends Animal{
    Dog(String name, int age, String color){
        super(name,age,color);
    }
    void lookAfterHouse(){
        System.out.println("The "+color+", "+age+" years old "+" dog, "+name+" is looking after the house..");
    };
    void eat(){
        System.out.println("The "+color+", "+age+" years old "+" dog, "+name+ " is eating bones...");
    }
}
